package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Companion;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.CompanionQueryObject;

import java.util.List;

public interface CompanionMapper {

    int insert(Companion entity);

    Companion selectByPrimaryKey(Long companionId);

    List<Companion> selectAll();

    List<Companion> selectForList(CompanionQueryObject qo);

    int updateByPrimaryKey(Companion entity);

}